<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://www.springframework.org/security/tags"
	prefix="sec"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<!--[if IE 9 ]><html class="ie9"><![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Telomere</title>
<link rel="shortcut icon" href="<%=path%>/img/logo.png">

<!-- Vendor CSS -->
<link
	href="<%=path%>/vendors/bower_components/animate.css/animate.min.css"
	rel="stylesheet">
<link
	href="<%=path%>/vendors/bower_components/material-design-iconic-font/dist/css/material-design-iconic-font.min.css"
	rel="stylesheet">

<!-- CSS -->
<link href="<%=path%>/css/app_1.min.css" rel="stylesheet">
<link href="<%=path%>/css/app_2.min.css" rel="stylesheet">
</head>
<body>
<div class="four-zero">
     <div class="fz-block">
          <h2>运行完成!</h2>
          <br/><br/>
          <button type="button" class="btn bgm-green" onclick="down('<s:property value="zipFile"/>')"><i class="zmdi zmdi-format-valign-bottom"></i> 下载报告</button>&nbsp;&nbsp;&nbsp;<button type="button" class="btn bgm-green" onclick="view()"><i class="zmdi zmdi-search-for"></i> 查询页面</button>
     </div>
</div>
	<script>
		function down(f){
			fn=escape(encodeURIComponent(f));
			location = "<%=path%>/telo!dowloadFile.action?download=" + fn;
		};
		function view(){
			location = "<%=path%>/telo!startPage.action";
		};
	</script>
</body>
</html>